package com.fz.service;

import com.fz.entity.Topic;
import com.fz.entity.TopicComment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 存储话题评论信息 服务类
 * </p>
 *
 * @author hyr
 * @since 2025-06-18
 */
public interface TopicCommentService extends IService<TopicComment> {
    // 点赞评论
    Boolean likeComment(Long commentId);
    List<TopicComment> getCommentsByTopicId(Long topicId);

    TopicComment createComment(Long topicId,Long userId,String content);
}
